<template>
	<view class="main">
		<gui-a-header title="年审公告"></gui-a-header>
		<mp-html :content="$u.richImg(detailData.context)" />
	</view>
</template>

<script setup>
	import {
		ref,
		reactive,
		inject
	} from 'vue'
	import {
		onLoad
	} from '@dcloudio/uni-app'
	import {
		selectComAnnualReview
	} from '@/api/app.js';
	
	const $u = reactive(inject('$u'))
	const policyId = ref('');
	const detailData = ref({
		context: ''
	})
	onLoad(() => {
		loadDetail();
	})
	
	const loadDetail = () => {
		selectComAnnualReview().then(res => {
			if(res.code == 200) {
				detailData.value = res.data;
				console.log(detailData.value);
			}
		})
	}
</script>

<style lang="scss">
.main {
	padding: 60rpx;
}

.title_box {
	margin-bottom: 30rpx;
}

.title {
	width: 500rpx;
	font-weight: bold;
	font-size: 32rpx;
	color: #323232;
	text-align: center;
}

.footer {
	margin-top: 44rpx;
	color: #555555;
}
.mt15 {
	margin-top: 15rpx;
}
</style>
